﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Molic.Core.Controls;

namespace Molic.Core.ActionHandlers
{
    /// <summary>
    /// This action handler is registered to distribute all of the selected objects
    /// horizontally.
    /// </summary>
    class MolicDistributeObjectsHorizontalActionHandler : IMolicActionHandler
    {
        #region IMolicActionHandler Members

        public System.Windows.Input.ICommand Command
        {
            get { return MolicCanvas.DistributeHorizontal; }
        }

        public void OnQueryEnabled(object sender, System.Windows.Input.CanExecuteRoutedEventArgs e)
        {}

        public void OnExecute(object sender, System.Windows.Input.ExecutedRoutedEventArgs e)
        {}

        #endregion
    }
}
